package com.buaa.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CurrentUserDTO {
    public Integer roleType; // 登录角色

    @JsonSerialize(using = ToStringSerializer.class)
    public Long id; // 用户ID
    public String policeId; // 警号
    public String userName; // 用户名


}
